Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODShape


SetGeometryMode

The SetGeometryMode method sets the geometry mode of this shape.

void SetGeometryMode (in ODGeometryMode mode);
mode
The geometry mode for this shape. The value of mode must be one of the following: kODPreserveGeometry, kODLoseGeometry, or kODNeedsGeometry.
DISCUSSION
The geometry mode of a shape object specifies whether the shape is required to maintain its geometric (polygonal) representation.

EXCEPTIONS
kODErrNoShapeGeometry
The specified geometry mode is kODNeedsGeometry, but this shape has no geometry.
SEE ALSO
The ODGeometryMode type (page 887).
The ODShape::GetGeometryMode method (page 637).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help